package com.qqtech.qquan.vote.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.vote.dao.VoteSysParamDao;
import com.qqtech.qquan.vote.model.*;

@Service
public class VoteSysParamServiceImpl extends BaseServiceImpl<VoteSysParam>
		implements VoteSysParamService {
	public static final Logger log = LoggerFactory.getLogger(VoteSysParamServiceImpl.class);
	
	@Resource
	private VoteSysParamDao voteSysParamDao;

	@Override
	protected BaseDao<VoteSysParam> getBaseDao() {
		return voteSysParamDao;
	}
	
	@Override
	public VoteSysParam getByKey(java.lang.String key) {
		return voteSysParamDao.getByKey(key);
	}	
}